//ex10_10_6.cpp
#include <iostream>
#include "Move.h"

int main(void)
{
    double x, y;

    Move m1(11.1, 22.2);
    Move m2(10.0, 20.0);
    Move m3;
    m1.showmove();
    m2.showmove();

    std::cout << "Enter x and y: ";
    std::cin >> x >> y;
    m1.reset(x, y);
    m1.showmove();

    m3 = m1.add(m2);
    std::cout << "Show m3: " << '\n';
    m3.showmove();
}